package c2.advanced.business.demo.po;

import lombok.Data;

@Data
public class DemoCat extends DemoAnimal {

    public static final String COLLECTION = "demo_cat";

    private String nickname;

    public static DemoCat create(String nickname, Long age) {
        DemoCat cat = new DemoCat();
        cat.nickname = nickname;
        cat.setAge(age);
        return cat;
    }
}
